Skip to main content

UnassociateHaVip

Description

Unbind HaVip from the VPC ECS instance.

Request Method

POST

Request Path

/apsara/route/Vpc/UnassociateHaVip

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
InstanceIdBODYstringYesi-faf344422ffsfa****the ID of the ECS instance to be unbound.
ForceBODYstringNoTrueWhether to force unbinding, value:True or False (default). Description If the value of this parameter is False, the master instance cannot be unbound.
regionIdBODYstringYesNo sample value for this parameter.region id
HaVipIdBODYstringYeshavip-2zeo05qre24nhrqpyf****HaVip instance ID.
RegionIdBODYstringYescn-qingdao-env17-d01the region ID of the HaVip instance. You can obtain the region ID by calling the DescribeRegions interface.
ClientTokenBODYstringNo0c593ea1-3bea-11e9-b96b-88e9fe63****Ensure request idempotence. Generate a parameter value from your client to ensure that the parameter value is unique between different requests. ClientToken only ASCII characters are supported and cannot exceed 64 characters.
InstanceTypeBODYstringNoecs.g5.largeECS instance specifications.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}